<?php
/**
 * Help on Messages Popup
 */
use Fox\Popup;

try {
	$help = new Fox\Core\Web\Element(array(APPLICATION_ID,Hive::HELP_MAILBOX));

} catch(\Fox\Object\Exception\NotExist $e) {
	$help = new Fox\Core\Web\Element();
}
$renderer = new Fox\Core\Web\Element\Renderer\SimpleContent();
$popup = new Popup('mailboxHelp',$help->label(),$renderer->render($help),750);
echo $popup->display();